/*!
 * Copyright 2018, Julun, Inc.
 */

package com.zicheng.luckyGift.dto;

/**
 * 奖励内容封装
 *
 * @author Killer
 * @date 2018/7/6 12:39
 */
public class LuckyAwardDTO {

    // 奖励内容
    private String awardConfigCode;
    // 奖励次数
    private int awardTimes;


    public LuckyAwardDTO(String awardConfigCode, int awardTimes) {
        this.awardConfigCode = awardConfigCode;
        this.awardTimes = awardTimes;
    }

    public String getAwardConfigCode() {
        return awardConfigCode;
    }

    public int getAwardTimes() {
        return awardTimes;
    }

    public void incrementAwardTimes(int awardTimes) {
        this.awardTimes += awardTimes;
    }

    public void setAwardConfigCode(String awardConfigCode) {
        this.awardConfigCode = awardConfigCode;
    }

    public void setAwardTimes(int awardTimes) {
        this.awardTimes = awardTimes;
    }
}
